package com.axjy.service;

import com.axjy.dto.InspectiontaskDetailDto;
import com.axjy.dto.InspectiontaskMainDto;
import com.axjy.pojo.InspectiontaskDetail;
import com.axjy.pojo.InspectiontaskMain;
import com.axjy.pojo.LineInfo;
import com.axjy.pojo.Systemconfig;
import com.axjy.service.vo.Pager;

import java.util.List;

/**
 * Created by 00 on 2018/2/3.
 */
public interface InspectiontaskDetailService {

    public List<Systemconfig> search2();

    public List<Systemconfig> search1();
    /**
     * 缺陷等级确认 模糊查询 分页
     * @param offset
     * @param limit
     * @param inspectiontaskDetailDto
     * @return
     */
     public Pager djqrshow(Integer offset, Integer limit, InspectiontaskDetailDto inspectiontaskDetailDto);

    /**
     * 执行与回执
     * @param offset
     * @param limit
     * @param dto
     * @return
     */
    public Pager zxshow(Integer offset, Integer limit, InspectiontaskMainDto dto);

    /**
     *
     * @param offset
     * @param limit
     * @param dto
     * @return
     */
    public Pager qxshow(Integer offset, Integer limit, InspectiontaskMainDto dto);


    /**
     * 查询系统配置
     * @return
     */
    public List<LineInfo> search(String lineCode);

    /**
     * 联动
     * @param configCode
     * @return
     */
    public List<InspectiontaskDetail> getByCode(String configCode);

    public void hzupdate(InspectiontaskDetail inspectiontaskDetail);

    public void zxupdate(Integer id);

    public void hzwcupdate(Integer taskId);

}
